package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void insertDish(DishDTO dishDTO);


    PageResult searchDishes(DishPageQueryDTO dishPageQueryDTO);


    void deleteDishes(List<Long> ids);

    DishVO searchDishById(Long id);

    void updateDish(DishDTO dishDTO);

    void updateDishStatus(Integer status, Long id);


    List<DishVO> searchDishByCategoryId(Long categoryId);


}
